package com.os.dao;

import java.util.List;

import com.os.model.DeskS;

/**
 * 点菜单dao
 * @author 小H下午1:45:26
 *
 */
public interface DeskDaoS {
	/**
	 * 获取点菜单总数
	 * @return
	 */
	public int selectDeskCountS();
	/**
	 * 分页查询点菜单
	 * @param page
	 * @param rows
	 * @return 点菜单集合
	 */
	public List<DeskS> selectDeskS(int page,int rows);
	/**
	 * 客户增加菜品
	 * @param did
	 * @param foodlist
	 * @param wid
	 * @return
	 */
	public boolean addDeskS(int did,String foodlist,int wid,int fnum,String ftime);
	/**
	 * 通过点菜单id查询当前桌有多少人
	 * @param oid 点菜单id
	 * @return
	 */
	public int selectFnum(int oid);
}
